home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 5
/
Aminet 5 - March 1995.iso
/
Aminet
/
util
/
cli
/
mkms_1_35.lha
/
mkms
/
Makefile
< prev
next >
Wrap
Makefile
|
1994-10-21
|
838b
|
44 lines
#
# Makefile for mkms
# (c)1994 Eric R. Augustine
#
D=-O2
INCL=-I/usr/include
SPC=-fwritable-strings -traditional
# if the executable gives you seg faults and core dumps when running
# add ${SPC) to the next line.
#
CFLAGS=${D} ${INCL}
# strsep is included here - comment out the line that includes
# strsep.c and uncomment the line that does not IF your compiler's
# clib includes strsep() Strsep.c is part of the BSD compiler.
# The sources for strsep.c are copyrighted by BSD.
#
#SRCS=mkms.c
SRCS=mkms.c strsep.c
OBJS=${SRCS:.c=.o}
PROG=mkms
CC=gcc
all: ${PROG} clobber
.c.o: ${SRCS}
${CC} ${CFLAGS} -c $<
${PROG}: ${OBJS}
${CC} -o ${PROG} ${OBJS}
clean:
chmod 600 ${SRCS} ${BAKS} ${OBJS} ; rm -f *~ ;
chmod 700 ${PROG}
clobber:
chmod 600 ${SRCS} ${BAKS} ${OBJS} ;
rm -f ${OBJS} ; chmod 700 ${PROG} ;
strip ${PROG}